package com.spring.design.bridge;

//折叠式手机的类继承了抽象Phone
public class FoldedPhone extends Phone {

    public FoldedPhone(Brand brand) {
        super(brand);
    }

    protected void open(){
        super.open();
        System.out.println("折叠样式手机");
    }

    protected void clear(){
        super.clear();
        System.out.println("折叠样式手机");
    }

    protected void call(){
        super.call();
        System.out.println("折叠样式手机");
    }
}
